package com.linciping.room.sample

import androidx.room.Database
import androidx.room.RoomDatabase
import com.linciping.room.sample1.Area
import com.linciping.room.sample1.AreaDao
import com.linciping.room.sample2.WorkType
import com.linciping.room.sample2.WorkTypeDao

@Database(entities = [User::class, Area::class, WorkType::class], version = 1, exportSchema = false)
abstract class SampleDatabase : RoomDatabase() {

    abstract fun userDao(): UserDao
    abstract fun areaDao(): AreaDao
    abstract fun workTypeDao(): WorkTypeDao
}